//
//  BCHTTPRequest.h
//  YunShangHui
//
//  Created by HMN on 14-6-9.
//  Copyright (c) 2014年 颜沛贤. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WLHTTPRequest : NSObject


#pragma mark BaseRequest
/**是否登陆*/
+ (BOOL)isLogIn;
/**注册*/
+(void)registerSetInfoWithParam:(NSDictionary *)param usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**登陆*/
+ (void)logInWithParam:(NSDictionary *)param
     usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
       andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**手机发送验证码*/
+ (void)getAuthorCodeWithParam:(NSDictionary *)param usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
               andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**验证验证码*/
/**验证验证码*/
+ (void)checkCodeWithParam:(NSDictionary *)param usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
           andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**热销商品*/
#pragma mark 热销商品
+ (void)getCommodityListWithParam:(NSDictionary *)param
                 usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                  andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**商品详情*/
#pragma mark 商品详情
+ (void)getGoodsDeatailWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**商品价格*/
#pragma mark 商品价格
+ (void)getGoodsPricelWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**商品颜色或者尺寸*/
#pragma mark 商品颜色或者尺寸
+ (void)getSizeOrColorParam:(NSDictionary *)param
               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**授权码查询*/
#pragma mark 授权码查询
+ (void)checkPramaWithParam:(NSDictionary *)param
           usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
            andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**活动列表*/
#pragma mark 活动列表
+ (void)getActivityListWithParam:(NSDictionary *)param
           usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
            andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**活动详情*/
#pragma mark 活动详情
+ (void)getActivityDetailWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**报名活动*/
#pragma mark 报名活动
+ (void)joinInActivityWithParam:(NSDictionary *)param
                  usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                   andFailureBlock:(void (^)(NSError *resultError))failureBlock;
/**评论活动*/
#pragma mark 评论活动
+ (void)commentActivityWithParam:(NSDictionary *)param
                  usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                   andFailureBlock:(void (^)(NSError *resultError))failureBlock;

///**获取验证码*/
//#pragma mark 获取验证码
//+ (void)getUserCodeWithParam:(NSDictionary *)param
//            usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//             andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**注册*/
//#pragma mark 注册
//+ (void)RegisterWithParam:(NSDictionary *)param
//            usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//             andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**精品列表*/
//#pragma mark 精品列表
//+ (void)getGoodsStoreListWithParam:(NSDictionary *)param
//                  usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//                   andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**修改密码*/
//#pragma mark 修改密码
//+ (void)changePWdWithParam:(NSDictionary *)param
//         usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//          andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**获取地址列表*/
//#pragma mark 获取地址列表
//+ (void)getAddrListWithParam:(NSDictionary *)param
//            usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//             andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**删除地址*/
//#pragma mark 删除地址
//+ (void)deleteAddrWithParam:(NSDictionary *)param
//           usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//            andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**新增地址*/
//#pragma mark 新增地址
//+ (void)AddNewAddrWithParam:(NSDictionary *)param
//           usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//            andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**编辑地址*/
//#pragma mark 编辑地址
//+ (void)EditAddrWithParam:(NSDictionary *)param
//         usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//          andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**获取订单列表*/
//#pragma mark 获取订单列表
//+ (void)getOrderListWithParam:(NSDictionary *)param
//             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//              andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**获取收藏的店铺列表*/
//#pragma mark 获取收藏的店铺列表
//+ (void)getMyCollectedShopWithParam:(NSDictionary *)param
//                   usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//                    andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**获取用户信息*/
//#pragma mark 获取用户信息
//+ (void)getPersonInfoWithParam:(NSDictionary *)param
//              usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//               andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**用户信息修改*/
//#pragma mark 用户信息修改
//+ (void)modifyPersonInfoWithParam:(NSDictionary *)param
//                 usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//                  andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**获取订单列表*/
//#pragma mark 获取订单列表
//+ (void)getTaskListWithParam:(NSDictionary *)param
//            usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//             andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**获取订单详情*/
//#pragma mark 获取订单详情
//+ (void)getDetailOrderWithParam:(NSDictionary *)param
//               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//                andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**意见反馈*/
//#pragma mark 意见反馈
//+ (void)feedbackWithParam:(NSDictionary *)param
//         usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//          andFailureBlock:(void (^)(NSError *resultError))failureBlock;
//
/////**获取订单详情*/
////#pragma mark 获取订单详情
//+ (void)changeOrderWithParam:(NSDictionary *)param
//            usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//             andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**找回密码*/
//#pragma mark 找回密码
//+ (void)ForgetPwdWithParam:(NSDictionary *)param
//          usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//           andFailureBlock:(void (^)(NSError *resultError))failureBlock;
//
///**订单评价*/
//#pragma mark 订单评价
//+ (void)AppraiseOrderWithParam:(NSDictionary *)param
//              usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//               andFailureBlock:(void (^)(NSError *resultError))failureBlock;
//
///**查看订单评论*/
//#pragma mark 查看订单评论
//+ (void)AppraiseOrdeInforWithParam:(NSDictionary *)param
//                  usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//                   andFailureBlock:(void (^)(NSError *resultError))failureBlock;
//
///**学校列表*/
//#pragma mark 学校列表
//+ (void)getSchoolListusingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//                   andFailureBlock:(void (^)(NSError *resultError))failureBlock;
//
///**上传头像*/
//#pragma mark 上传头像
//+ (void)postHeadIconWithParam:(NSDictionary *)param
//             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//              andFailureBlock:(void (^)(NSError *resultError))failureBlock;
///**获取客户标号*/
//#pragma mark 获取客户标号
//+ (void)getClientNumWithParam:(NSDictionary *)param
//             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//              andFailureBlock:(void (^)(NSError *resultError))failureBlock;
//
///**第三方登陆*/
//#pragma mark 第三方登陆
//+ (void)thirdLoginWithParam:(NSDictionary *)param
//             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//              andFailureBlock:(void (^)(NSError *resultError))failureBlock;
//
///**绑定手机号*/
//#pragma mark 绑定手机号
//+ (void)bindPhoneWithParam:(NSDictionary *)param
//           usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
//            andFailureBlock:(void (^)(NSError *resultError))failureBlock;


@end




